<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
	<title>测试</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" href="http://www.iuie.club:8080/cdn/css/editormd.min.css">
	<script src="http://www.iuie.club:8080/cdn/js/jquery-1.9.1.js"></script>
	<script src="http://www.iuie.club:8080/cdn/js/marked.min.js"></script>
	<script src="http://www.iuie.club:8080/cdn/js/prettify.min.js"></script>
	<script src="http://www.iuie.club:8080/cdn/js/raphael.min.js"></script>
	<script src="http://www.iuie.club:8080/cdn/js/underscore.min.js"></script>
	<script src="http://www.iuie.club:8080/cdn/js/sequence-diagram.min.js"></script>
	<script src="http://www.iuie.club:8080/cdn/js/flowchart.min.js"></script>
	<script src="http://www.iuie.club:8080/cdn/js/jquery.flowchart.min.js"></script>
	<script src="http://www.iuie.club:8080/cdn/js/editormd.js"></script>
</head>
<body style="font-family: Helvetica, arial, freesans, clean, sans-serif;font-size: 14px;line-height: 1.6;color: #333;background-color: #fff; padding: 20px;max-width: 960px; margin: 0 auto;">
<div id="test-editormd">
<textarea style="display:none;" placeholder="markdown语言">${requestScope.blogInfo.mdContent }</textarea>
</div>
<script type="text/javascript">
editormd.markdownToHTML("test-editormd", {
    htmlDecode      : "style,script,iframe",  
    emoji           : true,
    taskList        : true,
    tex             : true,  // 默认不解析
    flowChart       : true,  // 默认不解析
    sequenceDiagram : true  // 默认不解析
});
</script>
</body>